package com.imooc.api.feign;

import com.imooc.grace.result.GraceJSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 啊昌
 * @date 2025/9/27 9:37
 * WorkMicroServiceFeign 远程调用工作微服务
 */
@FeignClient("work-service")
public interface WorkMicroServiceFeign {

	/**
	 * 用户在登录的实话通过远程调用工作微服务初始化用户简历
	 *
	 * @param userId
	 * @return
	 */
	@PostMapping("/resume/init")
	public GraceJSONResult init(@RequestParam("userId") String userId);
}
